<?php

/**
 * login.php
 * @package adServer
 * @filesource
 */

require_once (CLASS_PATH . 'template.class.php');

/*	load the page header	*/
$header = new template(TEMPLATE_PATH . 'header.tpl');
$header->replace('&&SIDEMENU&&', '');
$header->replace('&&STYLE&&', '');
$header->replace('&&USER&&', '');
/*	Load the page content	*/
$pageContent = new template(TEMPLATE_PATH . $nextAction . '.tpl');

$pageContent->replace('&&ERRMSG&&', '');

/*	Echo the page	*/
echo $header->templateHtml;
echo $pageContent->templateHtml;

?>